package fr.cie.blog.beans;

import java.util.ArrayList;
import java.util.List;

/**
 * User's interests.
 * 
 * @author AetM
 * 
 */
public class Interest extends AbstractModel {
	/**
	 * List of cards where the Interest is.
	 */
	private List<Card> cardList = new ArrayList<Card>();

	/**
	 * @return the cardList
	 */
	public final List<Card> getCardList() {
		return cardList;
	}

	/**
	 * @param newCardList
	 *            the cardList to set
	 */
	public final void setCardList(final List<Card> newCardList) {
		this.cardList = newCardList;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public final String toString() {
		return "Interest [getId()=" + getId() + ", getName()=" + getName()
				+ ", cardList=" + cardList + "]";
	}
}